gusucode.com > 酷维企业网站CMS管理系统 v2.1.0 > 酷维企业网站CMS管理系统 v2.1.0\code\index.asp
<% '程序名称:酷维企业网站程序CMS '运行环境:ASP+ACCESS '程序大小:4.60MB '软件类型:ASP源码 '联系方式:QQ:921072227 '程序演示:企业程序 '官方网站:http://cms.coczz.com %> <!--网站顶部开始 --> <!--#include file="top.asp" --> <!--网站顶部结束 --> <table width="980" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td width="212" valign="top"><!--#include file="left_i.asp" --></td> <td width="554" align="center" valign="top"><table width="541" height="257" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="36" align="center" background="images/lyzx_01.jpg"><table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="38%" height="18" style="font-weight:bold; font-size:12px; color:#333333; padding-left:5px; padding-bottom:0px;">公司新闻</td> <td width="50%"> </td> <td width="12%" align="right"><a href="list.asp?tp=64"><img src="Images/more.gif" width="46" height="11" border="0"></a></td> </tr> </table></td> </tr> <tr> <td height="203" align="center" background="images/lyzx_02.jpg"> <table width="98%" height="203" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="235" align="center"><!--图片推荐开始 --> <script type=text/javascript> <!-- var focus_width=225 var focus_height=187 var text_height=0 var swf_height = focus_height+text_height <% set rs=server.createobject("ADODB.Recordset") sql="select top 6 * from news where mytype=64 and tu<>'' order by id desc" rs.open sql,conn,1,1 if rs.bof and rs.eof then%> var pics='' var links='' var texts='' <%else do while not rs.eof pic=pic &rs("tu")&"|" links=links &"show.asp?id="&rs("id")&"|" texts=texts &rs("bt")&"|" rs.movenext loop %> var pics='<%=left(pic,(len(pic)-1))%>' var links='<%=left(links,len(links)-1)%>' var texts='<%=left(texts,len(texts)-1)%>' <%end if%> document.write('<object ID="focus_flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">'); document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="news.swf"><param name="quality" value="high"><param name="bgcolor" value="#E5E5EB">'); document.write('<param name="menu" value="false"><param name=wmode value="opaque">'); document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">'); document.write('<embed ID="focus_flash" src="/img/news.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#E5E5EB" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>'); //--> </script> <!--图片推荐结束 --></td> <td align="center" valign="top"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="30" align="center" background="images/xz.gif" style="padding-top:2px;"><% set rs= Server.CreateObject("adodb.recordset") sql="select top 3 * from news where mytype=64 order by id desc" rs.open sql,conn,1 %><a href="show.asp?id=<%=rs("id")%>" target="_blank"><span style="font-size:20px; font-family:黑体;"><%=left(rs("bt"),14)%></span></a></td> </tr> <% set rs= Server.CreateObject("adodb.recordset") sql="select top 7 * from news where mytype=64 order by id desc" rs.open sql,conn,1 while not rs.eof %> <tr> <td height="24" background="Images/line.gif"> ·<a href="show.asp?id=<%=rs("id")%>" target="_blank"><%=left(rs("bt"),17)%></a> <span style="font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#555555;"><%= rs("riqi") %></span></td> </tr> <% rs.movenext wend %> </table></td> </tr> </table></td> </tr> <tr> <td height="15" align="center"><img src="images/lyzx_03.jpg" width="541" height="15"></td> </tr> </table> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="6"></td> </tr> </table> <table width="541" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="36" align="center" background="images/lyzx_01.jpg"><table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="38%" height="18" style="font-weight:bold; font-size:12px; color:#333333; padding-left:5px; padding-bottom:0px;">产品展示</td> <td width="50%"> </td> <td width="12%" align="right"><a href="list.asp?tp=64"><img src="Images/more.gif" width="46" height="11" border="0"></a></td> </tr> </table></td> </tr> <tr> <td width="541" align="center" style="border-left:1px solid #C5D4DF;border-right:1px solid #C5D4DF"> <MARQUEE scrollAmount=3 width=535 height=120 align="middle"> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <% set rs= Server.CreateObject("adodb.recordset") sql="select top 22 * from news where mytype=67 order by id desc" rs.open sql,conn,1 if not rs.eof or bof then while not rs.eof %> <td><table border="0" style=" border:1px #EEE solid" cellspacing="0" cellpadding="0"> <tr> <td align="center"><a href="products.asp?id=<%= rs("id") %>" target="_blank"><img src="<%= rs("tu") %>" width="125" height="100" border="0" alt="<%= rs("bt") %>" /></a><BR> <a href="products.asp?id=<%=rs("id")%>" target="_blank"> <%=left(rs("bt"),10)%> </a></td> </tr> </table></td> <% rs.movenext wend end if %> </tr> </table> </MARQUEE> </td> </tr> <tr> <td height="15" align="center"><img src="images/lyzx_03.jpg" width="541" height="15"></td> </tr> </table> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="6"></td> </tr> </table> <table width="541" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="36" align="center" background="images/lyzx_01.jpg"><table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="38%" height="18" style="font-weight:bold; font-size:12px; color:#333333; padding-left:5px; padding-bottom:0px;">公司简介</td> <td width="50%"> </td> <td width="12%" align="right"><a href="list.asp?tp=64"><img src="Images/more.gif" width="46" height="11" border="0"></a></td> </tr> </table></td> </tr> <tr> <td width="541" align="left" style="border-left:1px solid #C5D4DF;border-right:1px solid #C5D4DF"><table width="100%" border="0" cellspacing="6" cellpadding="0"> <% set rs= Server.CreateObject("adodb.recordset") sql="select top 1 * from news where mytype=71 order by id desc" rs.open sql,conn,1 while not rs.eof %> <tr> <td height="24" style="color:#555555;"><%=left(rs("nr"),318)%></td> </tr> <% rs.movenext wend %> </table></td> </tr> <tr> <td height="15" align="center"><img src="images/lyzx_03.jpg" width="541" height="15"></td> </tr> </table> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="6"></td> </tr> </table></td> <td width="214" valign="top"><!--#include file="right_i.asp" --></td> </tr> </table> <!--政府链接开始 --> <!--政府链接结束 --> <!--网站尾部开始 --> <!--#include file="foot.asp" --> <!--网站尾部结束 --> </body> </html>